reduce set of default RGB spaces
authorØyvind Kolås <pippin@gimp.org>
Wed, 30 Aug 2017 16:03:18 +0000 (18:03 +0200)
committerØyvind Kolås <pippin@gimp.org>
Wed, 30 Aug 2017 16:03:18 +0000 (18:03 +0200)
babl/babl-space.c

index 77d4d42b0fd8ec9df4f43e1fe4802d5f71f2be0b..beecf3c1afd99abfcb350cc476571d377c491329 100644 (file)
@@ -308,6 +308,15 @@ babl_space_class_init (void)
       0.1550,  0.0700,
       babl_trc("1.8"), NULL, NULL);
 
+  babl_space_from_chromaticities (
+     "WideGamutRGB",
+     0.34567, 0.3585,  /* D50 */
+     0.7350,  0.2650,
+     0.1150,  0.8260,
+     0.1570,  0.0180,
+     babl_trc("2.2"), NULL, NULL);
+
+#if 0
   babl_space_from_chromaticities (
       "Best",
       0.34567, 0.3585,  /* D50 */
@@ -363,14 +372,7 @@ babl_space_class_init (void)
      0.2150,  0.7650,
      0.1300,  0.0350,
      babl_trc("1.8"), NULL, NULL);
-
-  babl_space_from_chromaticities (
-     "WideGamutRGB",
-     0.34567, 0.3585,  /* D50 */
-     0.7350,  0.2650,
-     0.1150,  0.8260,
-     0.1570,  0.0180,
-     babl_trc("2.2"), NULL, NULL);
+#endif
 }
 
 void babl_space_to_xyz (const Babl *space, const double *rgb, double *xyz)